package com.atguigu.factorymethod;

/**
 * @ClassName TJCheesePizza
 * @Description 天津芝士披萨
 * @Author HongJian-Yang
 * @Date 2020/6/17 0:24
 * @Version 1.0
 */
public class TJCheesePizza extends Pizza {

    @Override
    public void prepare() {
        setName("天津芝士披萨");
        System.out.println(this.name + "准备材料");
    }
}
